# -*- coding: utf-8 -*- 
#
# Description:
#
#  Definiton
#
#
#
# Changes:
#
# 2012-01-10
# Initial Commit
#
#
# Copyright 2010-2012, WyDev Team.
# Author: Polo35 (polo35580@hotmail.fr)
#
# Licenced under Academic Free License version 3.0
# Review WyGui README & LICENSE files for further details.

nname: 0
n 0(None)[self.default_renderer = ExternalRenderer(wyplayer)
]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb7712eac>}
nname: 53
n 53(None)[return None
]:
	i: 37(JA), 48(), 52()
	o: 

nname: 52
n 52(None)[]:
	i: 0(f)
	o: 53()

nname: 48
n 48(None)[]:
	i: 15(f)
	o: 53()

nname: 37
n 37(None)[return self.default_renderer
]:
	i: 15(t)
	o: 53(JA)

nname: 15
n 15(self.default_renderer.getLive() == live)[]:
	i: 0(t)
	o: 37(t), 48(f)

nname: 0
n 0(self.default_renderer.isPlaying())[]:
	i: 
	o: 15(t), 52(f)

nname: 0
n 0(None)[if self.default_renderer.isPlaying():
	if self.default_renderer.getLive() == live:
		return self.default_renderer
return None
]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb771b34c>}
nname: 0
n 0(None)[return self.default_renderer
]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb7712eac>}
nname: 6
n 6(None)[__doc__ = ' this class is present in the archi for multiple renderer support.\n    multiple render is not supported yet:\n    just use  getDefaultRenderer in order to get THE renderer\n    '
def __init__(self, wyplayer):
	self.default_renderer = ExternalRenderer(wyplayer)

def getRenderer(self, live):
	if self.default_renderer.isPlaying():
		if self.default_renderer.getLive() == live:
			return self.default_renderer
	return None

def getDefaultRenderer(self):
	return self.default_renderer

]:
	i: 
	o: 

self.nodes: {6: <unpyclib.structure.node instance at 0xb771296c>}
nname: 0
n 0(None)[from logger import log
from externalrenderer import ExternalRenderer
class RendererManager(object):
	__doc__ = ' this class is present in the archi for multiple renderer support.\n    multiple render is not supported yet:\n    just use  getDefaultRenderer in order to get THE renderer\n    '
	def __init__(self, wyplayer):
		self.default_renderer = ExternalRenderer(wyplayer)

	def getRenderer(self, live):
		if self.default_renderer.isPlaying():
			if self.default_renderer.getLive() == live:
				return self.default_renderer
		return None

	def getDefaultRenderer(self):
		return self.default_renderer



]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb77122ec>}
from logger import log
from externalrenderer import ExternalRenderer
class RendererManager(object):
	__doc__ = ' this class is present in the archi for multiple renderer support.\n    multiple render is not supported yet:\n    just use  getDefaultRenderer in order to get THE renderer\n    '
	def __init__(self, wyplayer):
		self.default_renderer = ExternalRenderer(wyplayer)

	def getRenderer(self, live):
		if self.default_renderer.isPlaying():
			if self.default_renderer.getLive() == live:
				return self.default_renderer
		return None

	def getDefaultRenderer(self):
		return self.default_renderer



